del /q FullInstaller\output\*.*
copy PocketPictureInstall\Release\PocketPictureInstall.cab FullInstaller\*.*
copy PocketPictureSIInstall\Release\PocketPictureSIInstall.cab FullInstaller\*.*
copy PocketPicture\bin\release\PocketPicture.exe FullInstaller\output\PocketPicture%1.exe
copy PocketPictureSI\bin\release\PocketPictureSI.exe FullInstaller\output\PocketPictureSI%1.exe
copy DesktopPicture\bin\release\DesktopPicture.exe FullInstaller\output\DesktopPicture%1.exe
cd FullInstaller
ezsetup -l english -i PocketPictureInstall.ini -r readme.txt -e eula.txt -o output\PocketPictureInstall%1.exe
ezsetup -l english -i PocketPictureSIInstall.ini -r readme.txt -e eula.txt -o output\PocketPictureSIInstall%1.exe
copy PocketPictureInstall.cab output\PocketPictureInstall%1.cab
copy PocketPictureSIInstall.cab output\PocketPictureSIInstall%1.cab
del PocketPictureInstall.cab
del PocketPictureSIInstall.cab
cd ..\..
"D:\Program Files\WinRAR\winRar.exe" a PocketPicture\FullInstaller\output\PocketPictureSources%1.zip CommonLibrary\* PocketPicture\* PocketPicture\DesktopPicture\* PocketPicture\DesktopPicture\Properties\* PocketPicture\DesktopPicture\Resources\* PocketPicture\DesktopPicture\CommonLibrary\* PocketPicture\PocketPictureSI\* PocketPicture\PocketPictureSI\Properties\* PocketPicture\PocketPictureSI\Resources\* PocketPicture\PocketPictureSI\CommonLibrary\* PocketPicture\PocketPicture\* PocketPicture\PocketPicture\Properties\* PocketPicture\PocketPicture\Resources\* PocketPicture\PocketPicture\CommonLibrary\* PocketPicture\PocketPictureInstall\* PocketPicture\PocketPictureSIInstall\* PocketPicture\FullInstaller\*.txt PocketPicture\FullInstaller\*.ini
cd PocketPicture\FullInstaller\output
"D:\Program Files\WinRAR\winRar.exe" a PocketPictureInstall%1.zip PocketPictureInstall%1.exe
"D:\Program Files\WinRAR\winRar.exe" a PocketPictureSIInstall%1.zip PocketPictureSIInstall%1.exe
"D:\Program Files\WinRAR\winRar.exe" a PocketPictureExe%1.zip PocketPicture%1.exe
"D:\Program Files\WinRAR\winRar.exe" a PocketPictureSIExe%1.zip PocketPictureSI%1.exe
"D:\Program Files\WinRAR\winRar.exe" a DesktopPictureExe%1.zip DesktopPicture%1.exe
del PocketPictureInstall%1.exe
del PocketPictureSIInstall%1.exe
del PocketPicture%1.exe
del PocketPictureSI%1.exe
del DesktopPicture%1.exe
"D:\Program Files\WinRAR\winRar.exe" a -ep ToSite%1.zip PocketPictureInstall%1.CAB PocketPictureSIInstall%1.CAB PocketPictureInstall%1.zip PocketPictureSIInstall%1.zip PocketPictureSources%1.zip PocketPictureExe%1.zip PocketPictureSIExe%1.zip DesktopPictureExe%1.zip 
cd ..
del *.tmp
